package com.ruoyi.socket.util;

import com.ruoyi.socket.probuffer.DataInfo;

/***
 *  @description
 *  @author zhao
 *  @date: 2020/6/15
 *  @version: v1.0
 */
public class DeviceDataInfoUtils {


    public static DataInfo.DeviceData decode(byte[] body) throws Exception {
        return DataInfo.DeviceData.parseFrom(body);
    }


}
